package com.smart.community.common.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smart.community.common.common.vo.SysUserVo;
import com.smart.community.common.entity.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 子未语
 * @date : 2024/1/13 10:58
 */
public interface UserDataMapper {
    IPage<SysUserVo> selectAll(Page<SysUser> page, @Param("ew") QueryWrapper<SysUser> queryWrapper);

    SysUserVo selectById(Integer id);

    Integer insertSysUser(SysUser sysUser);


    Integer updateById(SysUser sysUser);

    int deleteFlase(Integer id);
    int startUsing(Integer id);
}

